package com.citytransport.prokopjuk.dao;

import java.util.ArrayList;

import com.citytransport.prokopjuk.vehicleDTO.Trolleybus;

public interface IDAOTrolleybus {
    void create(Trolleybus trolleybus);

    Trolleybus read(int trolleybusID);

    ArrayList<Trolleybus> readAll();
    
    ArrayList<Trolleybus> readAtRoute(int routeID);

    void update(Trolleybus trolleybus, int seatAmount,
	    String registrationNumber, String model, int electricVolatge, int routeID);

    void delete(Trolleybus trolleybus);

    void deleteAll();
}
